<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<?php //echo html::style(array('assets/css/style'),array('screen'), FALSE);?>
<title>Mantenimiento de Vias</title>
</head>
<body>
         <?php
         echo html::image('assets/images/add.png');
         echo html::anchor('album/show_create_editor', 'Adicionar Nueva Via');
         ?>
<table class="list" cellspacing="0">
	<tr>
		<td colspan="5" class="list_title">Mantenimiento de Vias</td>
	</tr>
	<tr>
		<td class="headers">Codigo</td>
		<td class="headers">Tipo</td>
		<td class="headers">Descripcion</td>
	</tr>
	<?php
	foreach($vias_list as $item)
	{
		echo "<tr>";
		echo "<td class='item'>".$item['codvia']."</td>";
		echo "<td class='item'>".$item['tipvia']."</td>";
		echo "<td class='item'>".$item['desvia']."</td>";
		echo "<td class='item'>".html::anchor('album/delete/'.$item['codvia'],html::image('assets/images/delete.png'))."</td>";
		echo "<td class='item'>".html::anchor('album/show_update_editor/'.$item['codvia'],html::image('assets/images/edit.png'))."</td>";
		echo "</tr>";
	}
	?>
</table>
</body>
</html>
